package com.example.demo.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.*;

/**
 * @author huangzhuoguang
 * @Description
 * @date 2021/1/6
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ExcelModel extends BaseRowModel {
    @ExcelProperty(index = 0, value = "编号")
    private String id;
    @ExcelProperty("名字")
    private String userName;
    @ExcelProperty("年龄")
    private String age;
}
